package cn.stylefeng.guns.sys.modular.tao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 视频图文表
 * </p>
 *
 * @author 石博士
 * @since 2019-11-06
 */
@TableName("picture_video")
public class PictureVideo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 图文视频表主键 ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 图文名称
     */
    @TableField("picture_name")
    private String pictureName;

    /**
     * 图文路径
     */
    @TableField("picture_url")
    private String pictureUrl;

    /**
     * 视频名称
     */
    @TableField("video_name")
    private String videoName;

    /**
     * 视频路径
     */
    @TableField("video_url")
    private String videoUrl;

    /**
     * 上传时间
     */
    @TableField("upload_time")
    private Date uploadTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPictureName() {
        return pictureName;
    }

    public void setPictureName(String pictureName) {
        this.pictureName = pictureName;
    }

    public String getPictureUrl() {
        return pictureUrl;
    }

    public void setPictureUrl(String pictureUrl) {
        this.pictureUrl = pictureUrl;
    }

    public String getVideoName() {
        return videoName;
    }

    public void setVideoName(String videoName) {
        this.videoName = videoName;
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }

    public Date getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(Date uploadTime) {
        this.uploadTime = uploadTime;
    }

    @Override
    public String toString() {
        return "PictureVideo{" +
        "id=" + id +
        ", pictureName=" + pictureName +
        ", pictureUrl=" + pictureUrl +
        ", videoName=" + videoName +
        ", videoUrl=" + videoUrl +
        ", uploadTime=" + uploadTime +
        "}";
    }
}
